package com.itfreer.cms.service.message;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.cms.entity.message.MessageClassEntity;
import com.itfreer.cms.service.message.MessageClassService;
import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

/**
 * 定义留言板类别服务
 */
@Component
@Path("/cms_messageclass/")
public class RestMessageClassService extends BaseRestService<MessageClassEntity> {

	/**
	 * 留言板类别接口
	 */
	@Autowired
	private MessageClassService messageClassManage;
	
	@Override
	protected BaseService<MessageClassEntity> getService() {
		return messageClassManage;
	}
	
	@Override
	protected String getServiceName() {
		return "cms_messageclass";
	}
}
